#define Moisture A0
#define D0 2



void setup() {
  // put your setup code here, to run once:
  pinMode(Moisture,INPUT);
  pinMode(D0,INPUT);
  Serial.begin(9600);

}

void loop() {
  // put your main code here, to run repeatedly:
  Serial.print("Moisture=");
  Serial.print(analogRead(Moisture));
  Serial.print("|D0=");
  Serial.println(digitalRead(D0));
  delay(1000);

  

}
